package com.study.talk.module.netty.message.request;

import com.study.talk.module.netty.message.MessageType;
import com.study.talk.module.netty.message.TalkMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SmsSendRequest extends TalkMessage {


    @ApiModelProperty("手机号码")
    private String phoneNumber;

    @ApiModelProperty("用户名")
    private String username;


    @Override
    public byte getType() {
        return MessageType.SEND_SMS_REQUEST;
    }
}
